home *** CD-ROM | disk | FTP | other *** search
- /* AMReminderData.h -- application-specific data management */
- /* Created 01/01/95 12:01 PM by AppMaker */
-
- /* Define the creator type and file type for your application. */
-
- #define kSignature 'XXXX'
- #define kFileType 'TEXT'
-
- /* Define any appropriate data structures for your application. */
- /* Add any needed fields to Global's WinInfoRec so that each window */
- /* can have its own set of data. Your functions will use "cur->" */
- /* to access the data. Here, in the interface section, you should */
- /* define only those types which are intended to be visible to */
- /* modules outside this one. Later, in the implementation section, */
- /* you can define additional "private" data structures. */
-
- typedef struct {
- short data;
- } YourStuff;
-
- /*----------*/
- /* Open, Close, Read, Write, Init, and Dispose are called by the */
- /* AppMaker-generated FileM module to do application-specific file accessing. */
-
- Boolean OpenAppFile (FSSpec* fileSpec,
- short *fRefNum);
- void CloseAppFile (short fRefNum);
- void ReadAppFile (short fRefNum);
- void WriteAppFile (short fRefNum);
- void InitAppData (void);
- void DisposeAppData (void);
-
- /* These functions are for accessing your data as logical chunks. */
- /* They are just models for your own accessor functions; */
- /* they aren't called by any AppMaker-generated code. */
- /* Replace them with whatever is suitable for your application. */
-
- void AddStuff (YourStuff *stuff);
- void DeleteStuff (void);
- Boolean GetStuff (void);
- void PutStuff (void);
-